package com.imooc.user.enums;

import lombok.Getter;

/**
 * ResultEnum
 *
 * @author leon.cheng
 * @date 2018/11/20 17:10
 **/
@Getter
public enum RoleEnum {
    BUYER(1,"买家"),
    SELLER(2,"卖家"),
    ;
    private Integer code;
    private String message;
    RoleEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
